![]() |
GetFNum |
||||
Header: | Fonts.h | Carbon status: | Not Recommended | |
Gets the font family ID for a specified font family name.
void GetFNum ( ConstStr255Param name, SInt16 *familyID );
The font family name.
On output, a pointer to the font family ID for the font family specified in name. If the font specified in the parameter name does not exist, the font family ID contains 0.
Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
You should instead use FMGetFontFamilyFromName.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)